package com.cskaoyan.mall.service;

import com.cskaoyan.mall.model.admin.AdminLoginBO;
import com.cskaoyan.mall.model.admin.AdminVO;
import com.cskaoyan.mall.model.ChangePwd;

import java.util.List;

/**
 * @author: jyf2000jyf
 */
public interface AdminService {
    int login(AdminLoginBO adminLoginBO);
    List<AdminVO> getAllAdmins();
    boolean deleteAdmins(int id);
    AdminVO getAdminsInfo(int id);
    boolean updateAdminss(AdminVO adminVO);
    List<AdminVO> getSearchAdmins(AdminVO adminVO);
    boolean addAdminss(AdminVO adminVO);
    String changePwd(ChangePwd pwd);
}